package com.aggregate.pay.yufu.cpos.bean;

import java.util.List;

import com.aggregate.pay.yufu.cpos.enums.MerchantStatus;
import com.aggregate.pay.yufu.cpos.enums.SyncFlag;
import com.aggregate.pay.yufu.cpos.jackson.converter.SyncFlagDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * 查询接口－响应参数－商户状态及业务状态信息
 * @author Moyq5
 * @date 2017年9月6日
 */
public class QueryMerchantResultData {

	/**
	 * 商户状态
	 */
	private MerchantStatus merchantStatus;
	/**
	 * 商户同步状态
	 */
	@JsonDeserialize(converter = SyncFlagDeserialize.class)
	private SyncFlag merchantSyncFlag;
	/**
	 * 支付服务
	 */
	private List<QueryMerchantResultDataPay> payList;
	public MerchantStatus getMerchantStatus() {
		return merchantStatus;
	}
	public void setMerchantStatus(MerchantStatus merchantStatus) {
		this.merchantStatus = merchantStatus;
	}
	public SyncFlag getMerchantSyncFlag() {
		return merchantSyncFlag;
	}
	public void setMerchantSyncFlag(SyncFlag merchantSyncFlag) {
		this.merchantSyncFlag = merchantSyncFlag;
	}
	public List<QueryMerchantResultDataPay> getPayList() {
		return payList;
	}
	public void setPayList(List<QueryMerchantResultDataPay> payList) {
		this.payList = payList;
	}
	@Override
	public String toString() {
		return "QueryMerchantResultData [merchantStatus=" + merchantStatus + ", merchantSyncFlag=" + merchantSyncFlag
				+ ", payList=" + payList + "]";
	}
	
}
